package com.slt.concurrency.mashibing2019.juc.c_000_Thread.my;

public class T04_ThreadAPI {
    public static void main(String[] args) {
        testThreadStatic();
    }

    static void testThreadStatic(){
        System.out.println(Thread.currentThread().getId());
        System.out.println(Thread.currentThread().getName());
        System.out.println(Thread.currentThread().getState());
        System.out.println(Thread.currentThread().getThreadGroup());
        System.out.println(Thread.currentThread().getContextClassLoader());
        System.out.println(Thread.currentThread().getPriority());
        System.out.println(Thread.currentThread().getStackTrace());
        System.out.println(Thread.currentThread().getUncaughtExceptionHandler());
        System.out.println(Thread.currentThread().getClass());


    }

}
